package com.ruoyi.address.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 顺风单地址对象 t_driver_ride_share_address
 * 
 * @author ruoyi
 * @date 2025-08-26
 */
public class TDriverRideShareAddress extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 司机顺风单地址ID */
    private Long addressId;

    /** 司机ID */
    @Excel(name = "司机ID")
    private Long driverId;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 更新日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateDate;

    public void setAddressId(Long addressId) 
    {
        this.addressId = addressId;
    }

    public Long getAddressId() 
    {
        return addressId;
    }

    public void setDriverId(Long driverId) 
    {
        this.driverId = driverId;
    }

    public Long getDriverId() 
    {
        return driverId;
    }

    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }

    public void setUpdateDate(Date updateDate) 
    {
        this.updateDate = updateDate;
    }

    public Date getUpdateDate() 
    {
        return updateDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("addressId", getAddressId())
            .append("driverId", getDriverId())
            .append("address", getAddress())
            .append("updateDate", getUpdateDate())
            .toString();
    }
}
